package com.cec.dto;

import com.baomidou.mybatisplus.annotation.*;
import com.cec.entity.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class OldsterDTO extends Page {
    @ApiModelProperty(value = "老人表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "老人名称")
    private String userName;

    @ApiModelProperty(value = "老人密码")
    private String password;

    @ApiModelProperty(value = "老人联系号码")
    private String phone;

    @ApiModelProperty(value = "老人性别")
    private Integer sex;

    @ApiModelProperty(value = "政治面貌")
    private Integer politicalStatus;

    @ApiModelProperty(value = "老人图片")
    private String img;

    @ApiModelProperty(value = "居住地址")
    private String address;

}
